package com.young.springdemo.config.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @program: springdemo
 * @description 后置日志查询注解
 * @author: Young
 * @create: 2020-05-29 16:50
 **/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface OperateLog {

    String operateType();
    String desc();
    int userIndex() default 0;//用户的信息,默认第一个参数
}
